﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MovieList.aspx.cs" Inherits="UI.MovieList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="Scripts/bootstrap.css" />
    <link rel="stylesheet" href="Style/main.css">

    <div class="content">
        <div class="template">
            <div class="title">
                <asp:Label ID="Label1" runat="server" Text="Label" class="first_title">正在热映</asp:Label>
                <asp:Label ID="Label2" runat="server" Text="Label" class="second_title">即将上映</asp:Label>
                <asp:Label ID="Label3" runat="server" Text="Label" class="more">More</asp:Label>
            </div>
            <div class="message">
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SouthWindConnectionString %>" SelectCommand="SELECT [MovieId] FROM [Movie]"></asp:SqlDataSource>

                <asp:ImageButton ID="ImageButton1" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton2" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton3" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton4" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton5" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton6" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton7" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton8" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton9" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />
                <asp:ImageButton ID="ImageButton10" runat="server" src="Images/test.png" alt="图没了" CssClass="movie_img" AlternateText='<%# Eval("MovieId") %>' OnClick="ImageButton1_Click" />

            </div>
        </div>
    </div>
</asp:Content>
